home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 5
/
Aminet 5 - March 1995.iso
/
Aminet
/
dev
/
gui
/
BGUI11B.lha
/
docs
/
mxclass.doc
< prev
next >
Wrap
Text File
|
1994-12-05
|
3KB
|
104 lines
$RCSfile: mxclass.doc,v $
Description: Mxclass documentation.
Copyright: (C) Copyright 1994 Jaba Development.
(C) Copyright 1994 Jan van den Baard.
All Rights Reserved.
$Author: jaba $
$Revision: 1.1 $
$Date: 1994/07/04 21:05:30 $
------------------------------------------------------------------------------
TABLE OF CONTENTS
mxclass/--background--
mxclass/Methods
mxclass/Attributes
mxclass/--background-- mxclass/--background--
NAME
Class: mxclass
Superclass: groupclass
Include File: <libraries/bgui.h>
FUNCTION
To provide a gadget object simular to the gadtools.library it's mx
kind. Objects from this class send out the following attribute pairs
in their notification events:
GA_ID - Gadget object ID.
MX_Active - Currently selected label.
mxclass/Methods mxclass/Methods
NEW METHODS
None.
CHANGED METHODS
None.
mxclass/Attributes mxclass/Attributes
NAME
MX_Labels -- ( STRPTR * )
FUNCTION
Set the labels used by the radio-buttons. This must point to a
NULL-terminated array of string pointers. The strings will be the
labels of the buttons created by the class. This attribute must be
valid.
Default is NULL. Applicability is (I).
NAME
MX_Active -- ( ULONG )
FUNCTION
Set or get the currently active (selected) button.
Default is 0. Applicability is (ISGNU).
NAME
MX_LabelPlace -- ( ULONG )
FUNCTION
Set the place at which the labels of the button are placed. There are
two possibilities:
PLACE_LEFT -- The labels are placed left of the buttons.
PLACE_RIGHT -- The labels are placed right of the buttons.
Default is PLACE_RIGHT. Applicability is (I).
NAME
MX_DisabledButton, MX_EnableButton -- ( ULONG )
FUNCTION
Disable or enable a single button in the mx object. The data of these
tags must be the number of the button you wish to enable or disable.
No default. Applicability is (ISU).
NAME
MX_TabsObject -- ( BOOL )
FUNCTION
To make the object a tabs object. A tabs object is an object which is
rendered simular to tabs in a book. When this attribute is set you
will get an object which is perfect to select pages from a pageclass
object.
Default is FALSE. Applicability is (I).
NAME
MX_TabsTextAttr -- ( struct TextAttr * )
FUNCTION
To determine the font in which the labels of the tabs are rendered.
NULL means that the font is the same as the font used by the other
objects in the window.
Default is NULL. Applicability is (I).